package {{modelPackageName}};

import cn.at.mo.framework.dao.annotation.Column;
import cn.at.mo.framework.dao.annotation.Id;
import cn.at.mo.framework.dao.annotation.Table;
import java.util.Date;

/**
 *  ${remarks}
 * Created by ${author} on ${.now}
 */
@Table(name="${name}")
public class ${modelName} {
    <#list columnMetas as column>
    /**
    * ${column.remarks}
    */
    <#if column.isPrimaryKey=='true'>
    @Id(name="${column.name}")
    <#else>
    @Column(name="${column.name}")
    </#if>
    private ${column.javaType} ${column.attrName};
    </#list>

    <#list columnMetas as column>
    public ${column.javaType} get${column.attrName?cap_first}(){
        return this.${column.attrName};
    }

    public void set${column.attrName?cap_first}(${column.javaType} ${column.attrName}){
        return this.${column.attrName} = ${column.attrName};
    }
    </#list>

}
